package com.du.spring5.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author : DuJiabao
 * @Date : 2021/2/4 10:48
 * @Project : spring
 * @File : null.java
 * @Desc : 用于配置的类，使得无需使用xml文件
 */
@Configuration
@ComponentScan(basePackages = {"com.du.spring5"})  // 开启注解扫描
@EnableAspectJAutoProxy(proxyTargetClass = true)  // 开启aop
public class ConfigAop {
}
